<div id="focus" class="wrapper row100 bgded" style="background-image:url('images/live-demo/background-03.jpg');">
    <div class="overlay">
        <div id="newsletter" class="clear center">
            <?php
            echo $message . '<br/>';
            echo Yii::t('wait', 'waitMsg') . '<br/>';
            ?>
        </div>
    </div>
</div>
<script type="text/javascript">
    setInterval(function () {
        //get time
        var time = document.getElementById("time").innerHTML;
        time = time - 1;
        document.getElementById("time").innerHTML = time;
        if (time === 0) {
            location = '<?php echo $redirectPage; ?>';
        }
    }, 1000);
</script>
